home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 3.6 KB | 78 lines | [TEXT/GEOL] |
- Item 9088378 14-Jan-91 05:42PST
-
- From: A.XSE010 Austria - SLT Labinstruments,IDV
-
- To: D2086 Efficient Field Svc, C Faith,PRT
-
- cc: MACAPP.TECH$ MacApp Technical
-
- ------------------------------------------------------------------------------
-
- Sub: More Inside Out questions
-
- Curtis...
-
- Some more Inside Out queries:
-
- 1. Does each program accessing a database (i.e. in multi-user mode) maintain
- its own “idea” of the current records of each of the files in a DB or are they
- purely DB-specific, i.e. can I rely on my last impression of what the current
- records were remaining valid as long as I don't do anything that might change
- the current record of a file, or can a current record be changed at any time by
- another user?
-
- 2. What do applications using IsO do about backing up and, more significantly,
- archiving (parts of) a DB, especially when it is spread over more than one
- volume? Is there no way (or will there perhaps in future be a way) to “shelve”
- (archive) no longer or only very infrequently needed parts of a DB on a
- removable volume which doesn't have to be mounted in order to be able to open a
- database? It seems restrictive to me to have no control whatsoever over which
- volume data is stored on and always to have to have all volumes accessible in
- order to use a DB. I heard/read somewhere that the next big release of IsO
- (when?) will allow more than one DB to be open at one time; perhaps this will
- allow a feasible solution to this problem.
-
- 3. I am trying to implement a structure like the one shown diagramatically on
- page 50 of the IsO manual, with the following properties (I will use the names
- for the files used in the manual to avoid confusion):
- 3.1. The orders file has no direct key except the two connection keys.
- 3.2. For each customer/inventory record pair there is at most one orders
- record, i.e. the two relation ID fields uniquely identify an orders record (if
- these two fields could be combined into one key it would be a unique key).
- Putting that another way still, for each customer there may be several orders,
- but no two of these orders belonging to the one customer may have the same
- inventory record as parent: the inventory record uniquely identifies the order
- for that particular customer. Orders belonging to different customers will
- often have the same inventory record as parent.
- Questions:
- 3.3. Is it possible to have the uniqueness of the combined relation IDs of the
- orders file enforced automatically by IsO (I presume not)?
- 3.4. If I use a view consisting of fields from all three files, and a key
- belonging to the customers file in an SRFindFirst call (to find a particular
- customer), how do I get the next orders record for that customer (along with
- its associated necessarily different inventory record)? Do I have to set the
- current key to the _orders key and then call SRNext? How do I know when I have
- gone past the last orders record for that customer? Do I have to check the
- appropriate fields of the customers record to see if anything has changed?
- 3.5. Am I doing this all wrong? How should I do it?
-
- Thanks in advance for your help,
-
- Alex. Livingston
-
- SLT Labinstruments Ges.m.b.H.
- Untersbergstr. 1
- A-5082 Grödig/Salzburg
- Austria (NOT Australia!!!)
-
- Tel.: +43/6246/3438
- Fax.: +43/6246/2770
- Tx. : 631127 slt a
-
- Ps.: We own Inside Out Multi-User V1.2.1 Serial No. 11614.
-
- Pps.: I have “cc”ed this to MacApp.Tech$, although MacApp has nothing directly
- to do with Inside Out, especially the above questions, because I wanted to
- reach a wider audience. (See question 4 in my last IsO Qs link.)
-
-